home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / pc / Open Me for REALbasic 3 / REALbasic 3.2 / Goodies / Development Tools / XCMDs and XFCNs / Collections / guide to xcmd collection 1.5 / background_2642.xml < prev    next >
Encoding:
Extensible Markup Language  |  1995-10-03  |  12.8 KB  |  446 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2642</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_3782.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3255.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <false /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>0</left>
  23.             <top>0</top>
  24.             <right>416</right>
  25.             <bottom>24</bottom>
  26.         </rect>
  27.         <style>rectangle</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <true /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>Geneva</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>bold</textStyle>
  39.         <textHeight>16</textHeight>
  40.         <name>name</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>2</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <true /> </sharedText>
  50.         <fixedLineHeight> <false /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <false /> </lockText>
  53.         <rect>
  54.             <left>0</left>
  55.             <top>41</top>
  56.             <right>125</right>
  57.             <bottom>66</bottom>
  58.         </rect>
  59.         <style>rectangle</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <true /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>left</textAlign>
  68.         <font>Geneva</font>
  69.         <textSize>12</textSize>
  70.         <textStyle>bold</textStyle>
  71.         <textHeight>16</textHeight>
  72.         <name></name>
  73.         <script>on mouseup
  74. -- go until you find a different "where"
  75. if the ShiftKey is down
  76. then put true into backwards
  77. else put false into backwards
  78. select text of me
  79. set cursor to busy
  80. lock screen
  81. get word 1 of bg fld "where"
  82. repeat the number of cards of this bg
  83. if backwards
  84. then go to prev cd of this bg
  85. else go to next cd of this bg
  86. if word 1 of bg fld "where" is not it then exit repeat
  87. end repeat
  88. end mouseup
  89. </script>
  90.     </part>
  91.     <part>
  92.         <id>3</id>
  93.         <type>field</type>
  94.         <visible> <true /> </visible>
  95.         <dontWrap> <false /> </dontWrap>
  96.         <dontSearch> <false /> </dontSearch>
  97.         <sharedText> <false /> </sharedText>
  98.         <fixedLineHeight> <false /> </fixedLineHeight>
  99.         <autoTab> <false /> </autoTab>
  100.         <lockText> <false /> </lockText>
  101.         <rect>
  102.             <left>0</left>
  103.             <top>66</top>
  104.             <right>247</right>
  105.             <bottom>90</bottom>
  106.         </rect>
  107.         <style>rectangle</style>
  108.         <autoSelect> <false /> </autoSelect>
  109.         <showLines> <false /> </showLines>
  110.         <wideMargins> <true /> </wideMargins>
  111.         <multipleLines> <false /> </multipleLines>
  112.         <reservedFamily> 0 </reservedFamily>
  113.         <titleWidth>0</titleWidth>
  114.         <icon>0</icon>
  115.         <textAlign>left</textAlign>
  116.         <font>Geneva</font>
  117.         <textSize>12</textSize>
  118.         <textStyle>plain</textStyle>
  119.         <textHeight>16</textHeight>
  120.         <name>where</name>
  121.         <script></script>
  122.     </part>
  123.     <part>
  124.         <id>4</id>
  125.         <type>field</type>
  126.         <visible> <true /> </visible>
  127.         <dontWrap> <false /> </dontWrap>
  128.         <dontSearch> <false /> </dontSearch>
  129.         <sharedText> <true /> </sharedText>
  130.         <fixedLineHeight> <false /> </fixedLineHeight>
  131.         <autoTab> <false /> </autoTab>
  132.         <lockText> <false /> </lockText>
  133.         <rect>
  134.             <left>291</left>
  135.             <top>41</top>
  136.             <right>416</right>
  137.             <bottom>66</bottom>
  138.         </rect>
  139.         <style>rectangle</style>
  140.         <autoSelect> <false /> </autoSelect>
  141.         <showLines> <false /> </showLines>
  142.         <wideMargins> <true /> </wideMargins>
  143.         <multipleLines> <false /> </multipleLines>
  144.         <reservedFamily> 0 </reservedFamily>
  145.         <titleWidth>0</titleWidth>
  146.         <icon>0</icon>
  147.         <textAlign>right</textAlign>
  148.         <font>Geneva</font>
  149.         <textSize>12</textSize>
  150.         <textStyle>bold</textStyle>
  151.         <textHeight>16</textHeight>
  152.         <name></name>
  153.         <script>on mouseup
  154. -- go until you find a different "type"
  155. if the ShiftKey is down
  156. then put true into backwards
  157. else put false into backwards
  158. select text of me
  159. set cursor to busy
  160. lock screen
  161. get bg fld "type"
  162. repeat the number of cards of this bg
  163. if backwards
  164. then go to prev cd of this bg
  165. else go to next cd of this bg
  166. if bg fld "type" is not it then exit repeat
  167. end repeat
  168. end mouseup
  169. </script>
  170.     </part>
  171.     <part>
  172.         <id>5</id>
  173.         <type>field</type>
  174.         <visible> <true /> </visible>
  175.         <dontWrap> <false /> </dontWrap>
  176.         <dontSearch> <false /> </dontSearch>
  177.         <sharedText> <false /> </sharedText>
  178.         <fixedLineHeight> <false /> </fixedLineHeight>
  179.         <autoTab> <false /> </autoTab>
  180.         <lockText> <false /> </lockText>
  181.         <rect>
  182.             <left>249</left>
  183.             <top>66</top>
  184.             <right>416</right>
  185.             <bottom>90</bottom>
  186.         </rect>
  187.         <style>rectangle</style>
  188.         <autoSelect> <false /> </autoSelect>
  189.         <showLines> <false /> </showLines>
  190.         <wideMargins> <true /> </wideMargins>
  191.         <multipleLines> <false /> </multipleLines>
  192.         <reservedFamily> 0 </reservedFamily>
  193.         <titleWidth>0</titleWidth>
  194.         <icon>0</icon>
  195.         <textAlign>right</textAlign>
  196.         <font>Geneva</font>
  197.         <textSize>12</textSize>
  198.         <textStyle>plain</textStyle>
  199.         <textHeight>16</textHeight>
  200.         <name>type</name>
  201.         <script></script>
  202.     </part>
  203.     <part>
  204.         <id>6</id>
  205.         <type>field</type>
  206.         <visible> <true /> </visible>
  207.         <dontWrap> <false /> </dontWrap>
  208.         <dontSearch> <false /> </dontSearch>
  209.         <sharedText> <true /> </sharedText>
  210.         <fixedLineHeight> <false /> </fixedLineHeight>
  211.         <autoTab> <false /> </autoTab>
  212.         <lockText> <false /> </lockText>
  213.         <rect>
  214.             <left>291</left>
  215.             <top>118</top>
  216.             <right>416</right>
  217.             <bottom>143</bottom>
  218.         </rect>
  219.         <style>rectangle</style>
  220.         <autoSelect> <false /> </autoSelect>
  221.         <showLines> <false /> </showLines>
  222.         <wideMargins> <true /> </wideMargins>
  223.         <multipleLines> <false /> </multipleLines>
  224.         <reservedFamily> 0 </reservedFamily>
  225.         <titleWidth>0</titleWidth>
  226.         <icon>0</icon>
  227.         <textAlign>right</textAlign>
  228.         <font>Geneva</font>
  229.         <textSize>12</textSize>
  230.         <textStyle>bold</textStyle>
  231.         <textHeight>16</textHeight>
  232.         <name></name>
  233.         <script></script>
  234.     </part>
  235.     <part>
  236.         <id>7</id>
  237.         <type>field</type>
  238.         <visible> <true /> </visible>
  239.         <dontWrap> <false /> </dontWrap>
  240.         <dontSearch> <false /> </dontSearch>
  241.         <sharedText> <false /> </sharedText>
  242.         <fixedLineHeight> <false /> </fixedLineHeight>
  243.         <autoTab> <false /> </autoTab>
  244.         <lockText> <false /> </lockText>
  245.         <rect>
  246.             <left>249</left>
  247.             <top>143</top>
  248.             <right>416</right>
  249.             <bottom>176</bottom>
  250.         </rect>
  251.         <style>rectangle</style>
  252.         <autoSelect> <false /> </autoSelect>
  253.         <showLines> <false /> </showLines>
  254.         <wideMargins> <true /> </wideMargins>
  255.         <multipleLines> <false /> </multipleLines>
  256.         <reservedFamily> 0 </reservedFamily>
  257.         <titleWidth>0</titleWidth>
  258.         <icon>0</icon>
  259.         <textAlign>right</textAlign>
  260.         <font>Geneva</font>
  261.         <textSize>10</textSize>
  262.         <textStyle>plain</textStyle>
  263.         <textHeight>13</textHeight>
  264.         <name>value</name>
  265.         <script></script>
  266.     </part>
  267.     <part>
  268.         <id>9</id>
  269.         <type>field</type>
  270.         <visible> <true /> </visible>
  271.         <dontWrap> <false /> </dontWrap>
  272.         <dontSearch> <false /> </dontSearch>
  273.         <sharedText> <true /> </sharedText>
  274.         <fixedLineHeight> <false /> </fixedLineHeight>
  275.         <autoTab> <false /> </autoTab>
  276.         <lockText> <false /> </lockText>
  277.         <rect>
  278.             <left>0</left>
  279.             <top>118</top>
  280.             <right>125</right>
  281.             <bottom>143</bottom>
  282.         </rect>
  283.         <style>rectangle</style>
  284.         <autoSelect> <false /> </autoSelect>
  285.         <showLines> <false /> </showLines>
  286.         <wideMargins> <true /> </wideMargins>
  287.         <multipleLines> <false /> </multipleLines>
  288.         <reservedFamily> 0 </reservedFamily>
  289.         <titleWidth>0</titleWidth>
  290.         <icon>0</icon>
  291.         <textAlign>left</textAlign>
  292.         <font>Geneva</font>
  293.         <textSize>12</textSize>
  294.         <textStyle>bold</textStyle>
  295.         <textHeight>16</textHeight>
  296.         <name></name>
  297.         <script></script>
  298.     </part>
  299.     <part>
  300.         <id>10</id>
  301.         <type>field</type>
  302.         <visible> <true /> </visible>
  303.         <dontWrap> <false /> </dontWrap>
  304.         <dontSearch> <false /> </dontSearch>
  305.         <sharedText> <false /> </sharedText>
  306.         <fixedLineHeight> <false /> </fixedLineHeight>
  307.         <autoTab> <false /> </autoTab>
  308.         <lockText> <false /> </lockText>
  309.         <rect>
  310.             <left>0</left>
  311.             <top>143</top>
  312.             <right>248</right>
  313.             <bottom>240</bottom>
  314.         </rect>
  315.         <style>scrolling</style>
  316.         <autoSelect> <false /> </autoSelect>
  317.         <showLines> <false /> </showLines>
  318.         <wideMargins> <true /> </wideMargins>
  319.         <multipleLines> <false /> </multipleLines>
  320.         <reservedFamily> 0 </reservedFamily>
  321.         <titleWidth>0</titleWidth>
  322.         <icon>0</icon>
  323.         <textAlign>left</textAlign>
  324.         <font>Geneva</font>
  325.         <textSize>10</textSize>
  326.         <textStyle>plain</textStyle>
  327.         <textHeight>13</textHeight>
  328.         <name>what it does</name>
  329.         <script>on openfield
  330. set the textarrows to true
  331. end openfield
  332.  
  333. on exitfield
  334. set the textarrows to false
  335. end exitfield
  336.  
  337. on closefield
  338. set the textarrows to false
  339. end closefield</script>
  340.     </part>
  341.     <part>
  342.         <id>11</id>
  343.         <type>button</type>
  344.         <visible> <true /> </visible>
  345.         <reserved5> 0 </reserved5>
  346.         <reserved4> 0 </reserved4>
  347.         <reserved3> 0 </reserved3>
  348.         <reserved2> 0 </reserved2>
  349.         <reserved1> 0 </reserved1>
  350.         <enabled> <true /> </enabled>
  351.         <rect>
  352.             <left>379</left>
  353.             <top>210</top>
  354.             <right>415</right>
  355.             <bottom>239</bottom>
  356.         </rect>
  357.         <style>shadow</style>
  358.         <showName> <false /> </showName>
  359.         <highlight> <false /> </highlight>
  360.         <autoHighlight> <true /> </autoHighlight>
  361.         <sharedHighlight> <false /> </sharedHighlight>
  362.         <family>0</family>
  363.         <titleWidth>0</titleWidth>
  364.         <icon>27009</icon>
  365.         <textAlign>center</textAlign>
  366.         <font>Chicago</font>
  367.         <textSize>12</textSize>
  368.         <textStyle>plain</textStyle>
  369.         <name>Next</name>
  370.         <script>on mouseUp
  371. visual effect wipe left fast
  372. go to next card of this bg
  373. end mouseUp</script>
  374.     </part>
  375.     <part>
  376.         <id>12</id>
  377.         <type>button</type>
  378.         <visible> <true /> </visible>
  379.         <reserved5> 0 </reserved5>
  380.         <reserved4> 0 </reserved4>
  381.         <reserved3> 0 </reserved3>
  382.         <reserved2> 0 </reserved2>
  383.         <reserved1> 0 </reserved1>
  384.         <enabled> <true /> </enabled>
  385.         <rect>
  386.             <left>342</left>
  387.             <top>210</top>
  388.             <right>379</right>
  389.             <bottom>239</bottom>
  390.         </rect>
  391.         <style>shadow</style>
  392.         <showName> <false /> </showName>
  393.         <highlight> <false /> </highlight>
  394.         <autoHighlight> <true /> </autoHighlight>
  395.         <sharedHighlight> <false /> </sharedHighlight>
  396.         <family>0</family>
  397.         <titleWidth>0</titleWidth>
  398.         <icon>9301</icon>
  399.         <textAlign>center</textAlign>
  400.         <font>Chicago</font>
  401.         <textSize>12</textSize>
  402.         <textStyle>plain</textStyle>
  403.         <name>Prev</name>
  404.         <script>on mouseUp
  405. visual effect wipe right fast
  406. go to previous card of this bg
  407. end mouseUp</script>
  408.     </part>
  409.     <part>
  410.         <id>13</id>
  411.         <type>button</type>
  412.         <visible> <true /> </visible>
  413.         <reserved5> 0 </reserved5>
  414.         <reserved4> 0 </reserved4>
  415.         <reserved3> 0 </reserved3>
  416.         <reserved2> 0 </reserved2>
  417.         <reserved1> 0 </reserved1>
  418.         <enabled> <true /> </enabled>
  419.         <rect>
  420.             <left>304</left>
  421.             <top>210</top>
  422.             <right>342</right>
  423.             <bottom>239</bottom>
  424.         </rect>
  425.         <style>shadow</style>
  426.         <showName> <false /> </showName>
  427.         <highlight> <false /> </highlight>
  428.         <autoHighlight> <true /> </autoHighlight>
  429.         <sharedHighlight> <false /> </sharedHighlight>
  430.         <family>0</family>
  431.         <titleWidth>0</titleWidth>
  432.         <icon>5472</icon>
  433.         <textAlign>center</textAlign>
  434.         <font>Chicago</font>
  435.         <textSize>12</textSize>
  436.         <textStyle>plain</textStyle>
  437.         <name>First</name>
  438.         <script>on mouseUp
  439. visual effect dissolve slow
  440. go first
  441. end mouseUp
  442. </script>
  443.     </part>
  444.     <part>
  445.         <id>14</id>
  446.         <type>button</type>
  447.         <visible> <true /> </visible>
  448.         <reserved5> 0 </reserved5>
  449.         <reserved4> 0 </reserved4>
  450.         <reserved3> 0 </reserved3>
  451.         <reserved2> 0 </reserved2>
  452.         <reserved1> 0 </reserved1>
  453.         <enabled> <true /> </enabled>
  454.         <rect>
  455.             <left>262</left>
  456.             <top>192</top>
  457.             <right>304</right>
  458.             <bottom>240</bottom>
  459.         </rect>
  460.         <style>shadow</style>
  461.         <showName> <true /> </showName>
  462.         <highlight> <false /> </highlight>
  463.         <autoHighlight> <true /> </autoHighlight>
  464.         <sharedHighlight> <true /> </sharedHighlight>
  465.         <family>0</family>
  466.         <titleWidth>0</titleWidth>
  467.         <icon>6491</icon>
  468.         <textAlign>center</textAlign>
  469.         <font>Chicago</font>
  470.         <textSize>12</textSize>
  471.         <textStyle>plain</textStyle>
  472.         <name>reindex</name>
  473.         <script>on mouseUp
  474. global seektext
  475. put seektext into temp
  476. rebuildIndex -- in the stack script
  477. put temp into seektext
  478. end mouseUp</script>
  479.     </part>
  480.     <content>
  481.         <layer>background</layer>
  482.         <id>2</id>
  483.         <text>WHERE IT IS</text>
  484.     </content>
  485.     <content>
  486.         <layer>background</layer>
  487.         <id>4</id>
  488.         <text>TYPE</text>
  489.     </content>
  490.     <content>
  491.         <layer>background</layer>
  492.         <id>6</id>
  493.         <text>VALUE</text>
  494.     </content>
  495.     <content>
  496.         <layer>background</layer>
  497.         <id>9</id>
  498.         <text>WHAT IT DOES</text>
  499.     </content>
  500.     <name>catalogue</name>
  501.     <script>on openCard
  502. set the scroll of bg fld "what it does" to 0
  503. if bg fld "name" is empty then select text of bg fld "name"
  504. end openCard
  505. </script>
  506. </background>
  507.